package TangramBase;

import java.text.SimpleDateFormat;
import java.util.Date;
import javax.swing.JMenuItem;

public interface DocumentWindow {
    public final String sEmptyString = "", sChanged = "*", sUpToDate = "", sDash = " - ", sLNumberBracket = "(", sRNumberBracket = ")  ",
            sLFigureBracket = " [", sRFigureBracket = "]";
    public static final String cmbItems[] = {"dd.MM.yyyy HH:mm:ss","dd.MM.yyyy 00:00:00","now","minute(s) ago","hour(s) ago","day(s) ago","week(s) ago","month(s) ago","year(s) ago"};
    public static final SimpleDateFormat df = new SimpleDateFormat("dd.MM.yyyy HH:mm:ss");
    public static final SimpleDateFormat dfLabel = new SimpleDateFormat("dd.MM.yyyy HH:mm");
    public static final Date now = new Date();
    public static final javax.swing.Timer tmrNow = new javax.swing.Timer(1000,null);
    public void restoreState();
    public void setMenuItem(int i, JMenuItem mni);
    public boolean showDocument(boolean jak);
    public boolean hasChanged();
}
